package com.zbkj.service.service.order.merchant;

import com.github.pagehelper.PageInfo;
import com.zbkj.dal.base.enums.show.EnumShowVO;
import com.zbkj.dal.pojo.request.OrderSendRequest;
import com.zbkj.dal.pojo.request.order.merchant.AdminMerchantPurchaseOrderQueryRequest;
import com.zbkj.dal.pojo.response.order.merchant.MerchantOrderPurchaseDetailNewResponse;
import com.zbkj.dal.pojo.response.order.merchant.MerchantOrderPurchasePageNewResponse;

import java.util.List;

/**
 * @author wangzhengyan
 * @date 2024/4/12 2:38 PM
 */
public interface AdminMerchantPurchaseOrderV2Service {

    // 订单状态
    List<EnumShowVO<Integer>> getOrderStatusList();

    /**
     * 获取商户后台-订单管理-买入订单列表
     *
     * @param request 请求参数
     * @return 订单列表
     */
    PageInfo<MerchantOrderPurchasePageNewResponse> getAdminMerchantOrderPurchaseList(AdminMerchantPurchaseOrderQueryRequest request);

    /**
     * 获取商户后台-订单管理-买入订单详情
     *
     * @param orderNo 订单号
     * @return 订单详情
     */
    MerchantOrderPurchaseDetailNewResponse getAdminMerchantOrderPurchaseDetail(String orderNo);

    // 发货
    Boolean deliveryMerchantPurchaseOrder(OrderSendRequest request);

    // 确认提货
    Boolean confirmDeliveryMerchantPurchaseOrder(String orderNo, String deliveryCode);


}
